package io.linfeng.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value="AdminCommentListResponse", description="评论列表响应体")
public class AdminCommentListResponse implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@ApiModelProperty(value = "ID")
	private Long id;
	/**
	 * 父级id
	 */
	@ApiModelProperty(value = "父级id")
	private Integer pid;
	/**
	 * 评论类型:1帖子
	 */
	@ApiModelProperty(value = "评论类型")
	private Integer type;
	/**
	 * 评论作者ID
	 */
	@ApiModelProperty(value = "评论作者ID")
	private Long uid;
	/**
	 * 被回复用户ID
	 */
	@ApiModelProperty(value = "被回复用户ID")
	private Integer toUid;
	/**
	 * 评论帖子ID
	 */
	@ApiModelProperty(value = "评论帖子ID")
	private Long postId;
	/**
	 * 评论内容
	 */
	@ApiModelProperty(value = "评论内容")
	private String content;
	/**
	 * 评论图片
	 */
	@ApiModelProperty(value = "评论图片")
	private String img;
	/**
	 * 评论状态 1正常显示  0不显示 2待审核
	 */
	@ApiModelProperty(value = "评论状态 1正常显示  0不显示 2待审核")
	private Integer status;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@ApiModelProperty(value = "评论用户头像")
	private String avatar;

	@ApiModelProperty(value = "评论用户名")
	private String username;

	@ApiModelProperty(value = "被回复用户头像")
	private String toUserAvatar;

	@ApiModelProperty(value = "被回复用户用户名")
	private String toUsername;

	@ApiModelProperty(value = "父评论内容")
	private String parentComment;

	@ApiModelProperty(value = "父评论图片")
	private String parentImg;

}
